package org.caw.hbase.admin;

import org.caw.domain.descriptor.TableDescriptor;
import org.caw.domain.descriptor.TableDescriptorList;
import org.caw.exception.CawException;

public interface AdminManager {

	TableDescriptorList getTableDescriptions(Boolean detailed) throws CawException;

	TableDescriptor getTableDescription(String tableName) throws CawException;

	TableDescriptor createTable(TableDescriptor descriptor, boolean overwrite) throws CawException;

	TableDescriptor updateTable(TableDescriptor descriptor) throws CawException;

	void disableTable(String tableName) throws CawException;

	void enableTable(String tableName) throws CawException;

	void trunateTable(String tableName) throws CawException;
	
	void deleteTable(String tableName) throws CawException;
}
